package com.bean;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author WxrStart
 * @create 2022-05-22 22:49
 */
@ToString
@Getter
@AllArgsConstructor
public enum RoleEnum {

    USER("user"),  ADMIN("admin");

    private String type;

    @Override
    public String toString() {
        return this.type.toString();
    }
}


